package com.show.business.integrate.bean;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.show.business.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 *  短信记录
 * </p>
 *
 * @author dvlp
 * @since 2024-10-15
 */

@Getter
@Setter
@TableName("t_sms_message")
@ApiModel(value = "DyvmConfig对象", description = "平台管理-语音服务配置表")
public class SmsMessage  extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**手机号*/
    private String phoneNum;

    /**短信发送-告警地址*/
    private String address;

    /**短信发送-设备编码*/
    private String code;

    /**短信发送-时间*/
    private String time;

    /**短信发送-线路*/
    private String line;

    /**短信类型（0-断电告警；1-缺相告警；2-断电/缺相恢复告警；3-设备通信异常告警）*/
    private String msgType;

    /**是否发送成功 0是 1否*/
    private String status;

    /**短信发送时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    /**短信内容*/
    private String msgContent;

    /**发送失败描述*/
    private String errorDesc;
}
